package com.dezheyun.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class BaseController {

    @GetMapping("/login.html")
    public String getLogin() {
        return "/login.html";
    }

    @GetMapping("/")
    public String getIndex() {
        return "/home.html";
    }

    @GetMapping("/home")
    public String getHome() {
        return "/home.html";
    }

    @GetMapping("/error")
    public String getError() {
        return "/error.html";
    }

}
